package com.ioc.dao.impl;

import com.ioc.dao.UserDao;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

//@Component
@Repository("userDao")
public class UserDaoImpl implements UserDao {

    public UserDaoImpl() {
        System.out.println("这是UserDao的构造方法");
    }

    public void save() {

        System.out.println("这是UserDao的save方法");
    }
}
